﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="Directsell.aspx.cs" Inherits="Ewts.Storage.Directsell" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">


<h2>退运/直销</h2>
<br />
<div class="shadow">
    <table id="tab" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
    <thead>
    <tr>
        <th>LoadNum</th>
        <th>CJO NO</th>
        <th>客户编号</th>
        <th>客户名称</th>
        <th>业务员</th>
        <th>退运/直销</th>
        <th>货物简要描述</th>
        <th>货物重量</th>
        <th>操作</th>
    </tr>
    </thead>
    <asp:Repeater ID="reptDirectsell" runat="server">
        <ItemTemplate>
        <tr>
            <td><%# Eval("loadnum")%></td>
            <td><%# Eval("cjono")%></td>
            <td><%# Eval("cumcode")%></td>
            <td><%# Eval("cumname")%></td>
            <td><%# Eval("saleman").ToString().Replace('@',' ')%></td>
            <td><%# Eval("istyz")%></td>
            <td><%# Eval("goodsinfo")%></td>
            <td><%# Eval("totalweight")%></td>
            <td><a href="/Storage/DirectsellByID.aspx?cjoid=<%# Eval("cjoid") %>" >添加</a></td>  
        </tr>
        </ItemTemplate>
    </asp:Repeater>
   </table>
</div>
   <script type="text/javascript">
       $(document).ready(function () {
           $('#tab').dataTable({ "oLanguage":
                 { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
               "bJQueryUI": true,
               "sPaginationType": "full_numbers",
               'bPaginate': true,
               "bProcessing": true,
               "iDisplayLength": 10,
               "bSort": true,
               "aaSorting": [[0, "desc"]]
           });
           
       });
</script>
</asp:Content>